@import "../../../node_modules/bootstrap/scss/bootstrap";
@import "./common.scss";
@import "./carousel.css";
@import "./footer.scss";
@import "./nav.scss";
@import "./colortable.scss";
#course_page .nav-link {
  color: #88bc56;
}
.kecheng-bottom {
  width: 100%;
  min-width: 1000px;
  overflow: hidden;
  padding-top: 1462/1920 * 100%;
  background: url(../../imgs/course/kecheng-bottom.png) no-repeat;
  background-size: 100% 100%;
  position: relative;
  .course_view-content {
    width: 1628/1920 * 100%;
    padding-top: 860/1920 * 100%;
    position: absolute;
    left: 50%;
    top: 64%;
    transform: translate(-50%, -50%);
    background: url(../../imgs/course/course_view-content.png) no-repeat;
    background-size: 100% 100%;
  }
  .course_new-content {
    position: absolute;
    width: 460/1628 * 100%;
    padding-top: 170/1628 * 100%;
    border-radius: 100px;
  }
  .cnc-01 {
    background-color: rgba(248, 202, 0, 0.2);
    left: 10%;
    top: 7%;
    .cnc-ico {
      background: url(../../imgs/course/cn-ico1.png) no-repeat center center;
      background-size: 90% auto;
    }
  }
  .cnc-02 {
    background-color: rgba(238, 127, 22, 0.2);
    right: 10%;
    top: 29%;
    .cnc-ico {
      background: url(../../imgs/course/cn-ico2.png) no-repeat center center;
      background-size: 90% auto;
    }
  }
  .cnc-03 {
    background-color: rgba(0, 133, 204, 0.2);
    left: 5%;
    bottom: 29%;
    .cnc-ico {
      background: url(../../imgs/course/cn-ico3.png) no-repeat center center;
      background-size: 90% auto;
    }
  }
  .cnc-04 {
    background-color: rgba(223, 61, 44, 0.2);
    right: 5%;
    bottom: 7%;
    .cnc-ico {
      background: url(../../imgs/course/cn-ico4.png) no-repeat center center;
      background-size: 90% auto;
    }
  }
  .cnc-content {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .cnc-ico {
    width: 100/450 * 100%;
    padding-top: 120/450 * 100%;
    margin-left: 2%;
  }
  .cnc-txt {
    font-size: 12px;
    padding: 2% 6% 2% 2%;
    flex: 1;
    word-break: break-all;
    color: #fff;
    margin-bottom: 0;
  }
}

.caihong {
  background-color: #f5f6f6;
  padding: 20px 0 40px 0;
}
.tese-item {
  display: flex;
  justify-content: space-between;
  padding: 50px 0;
  .title {
    width: 435px;
    position: relative;
    .tese-num {
      font-size: 300px;
      color: #f0f5ea;
      position: absolute;
      top: 50%;
      left: 50%;
      line-height: 100px;
      z-index: 0;
      transform: translate(-50%, -50%);
    }
    .tl {
      position: absolute;
      width: 100%;
      top: 60%;
      transform: translateY(-50%);
      text-align: center;
      font-size: 48px;
      .desc {
        text-align: left;
        font-size: 22px;
        color: #666;
      }
    }
  }
  .tese-img {
    width: 1063/1920 * 100%;
    height: auto;
  }
}
.xueke {
  background-color: #f0f5ea;
  .container .tese-item {
    .xueke-img {
      width: 841/1920 * 100%;
    }
    .title .tese-num {
      color: #fff;
    }
  }
}
.meiguo {
  .container .tese-item {
    .meiguo-img {
      width: 1052/1920 * 100%;
    }
    .title .tese-num {
      color: #f9efe8;
    }
  }
}
.ruanying {
  background-color: #edf5f9;
  .container .tese-item {
    .ruanying-img {
      width: 845/1920 * 100%;
    }
    .title .tese-num {
      color: #fff;
    }
  }
}

.course_01-section p {
  margin: 0;
  padding: 0;
}
.course_01-section {
  padding: 80px 0;
}
.course_01-section .row {
  justify-content: space-between;
}
.col-2_5 {
  flex: 0 0 20%;
  max-width: 20%;
  text-align: center;
}
.tl-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 70px;
  margin-top: 60px;
  .brackets-tl {
    font-size: 60px;
    font-weight: bolder;
    color: #3e3e39;
    margin: 20px 0 20px 0;
    &::before {
      content: "<";
      display: inline-block;
      margin-right: 10px;
      color: rgb(136, 188, 86);
    }
    &::after {
      content: ">";
      display: inline-block;
      margin-left: 10px;
      color: rgb(136, 188, 86);
    }
  }
  .desc {
    font-size: 30px;
    color: rgb(159, 160, 160);
  }
}
.kecheng-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: space-around;
  .new_couse-warp {
    width: 20% !important;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    .icon {
      width: 180/360 * 100%;
      padding-top: 126/360 * 100%;
    }
    .arrow {
      display: none;
      width: 60px;
      padding-top: 60px;
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translate(-50%);
      border-radius: 100%;
    }
    .tab-btn {
      width: 100%;
      line-height: 74px;
      color: #fff;
      margin-bottom: 34px;
      margin-top: 0px;
      text-align: center;
      font-size: 30px;
      font-weight: 600;
      border-radius: 60px;
      cursor: pointer;
    }
  }
  .dash-wrap {
    .icon {
      background: url(../../imgs/course/1-5dash.png) no-repeat;
      background-size: 100% auto;
    }
    .arrow {
      background: #fff url(../../imgs/course/arrow-1.png) no-repeat;
      background-size: 100% auto;
    }
    .tab-btn {
      background-color: rgb(55, 190, 240);
      box-shadow: 0 6px 12px rgba(55, 190, 240, 0.6);
    }
  }
  .scratch-wrap {
    width: 400/1920 * 100% !important;
    .icon {
      background: url(../../imgs/course/2-cratch.png) no-repeat;
      background-size: 100% auto;
    }
    .arrow {
      background: url(../../imgs/course/arrow-2.png) no-repeat;
      background-size: 100% auto;
    }
    .tab-btn {
      background-color: rgb(247, 171, 0);
      box-shadow: 0 6px 12px rgba(247, 171, 0, 0.6);
    }
  }
  .python-wrap {
    width: 400/1920 * 100% !important;
    .icon {
      background: url(../../imgs/course/3-python.png) no-repeat;
      background-size: 100% auto;
    }
    .arrow {
      background: url(../../imgs/course/arrow-3.png) no-repeat;
      background-size: 100% auto;
    }
    .tab-btn {
      background-color: rgb(143, 195, 31);
      box-shadow: 0 6px 12px rgba(143, 195, 31, 0.6);
    }
  }
  .c-wrap {
    .icon {
      background: url(../../imgs/course/4-c.png) no-repeat;
      background-size: 100% auto;
    }
    .arrow {
      background: url(../../imgs/course/arrow-4.png) no-repeat;
      background-size: 100% auto;
    }
    .tab-btn {
      background-color: rgb(123, 89, 163);
      box-shadow: 0 6px 12px rgba(123, 89, 163, 0.6);
    }
  }
  .active {
    .arrow {
      display: block;
    }
  }
}
$dashColor: #37bef0; 
$scratchColor: #f39c06; 
$pythonColor: #7ebb18; 
$cColor: #664392; 

.container-fluid {
  .course_01-section {
    width: 100%;
    height: 595px;
    background: url(../../imgs/kecheng/bg-1.png) no-repeat;
    background-size: auto 100%;
    position: relative;
  }

  .course_btn-wrap {
    background-color: rgba(247, 248, 248, 1);
    padding: 50px 0;
  }
}

.wrap_container {
  display: flex;
  justify-content: space-between;
  .wrap-image {
    width: 606px;
    height: 460px;
    img {
      width: 100%;
      height: auto;
    }
  }
  .wrap-detail {
    flex: 1;
    margin-left: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .wrap_d-info {
    width: 100%;
  }
  .lable {
    color: $scratchColor;
    border-bottom: 1px solid $scratchColor;
    font-size: 34px;
    font-weight: 700;
    display: inline-block;
  }
  .tl {
    color: #000;
    font-size: 28px;
    padding-top: 10px;
  }
  .content {
    line-height: 40px;
    padding-top: 34px;
    font-size: 18px;
  }
  .wrap_d-btn {
    margin-top: 40px;
    width: 200px;
    line-height: 50px;
    border-radius: 100px;
    box-sizing: border-box;
    border: 3px solid $dashColor;
    position: relative;
    font-size: 28px;
    color: $dashColor;
    text-align: center;
    &:active,
    &:hover {
      opacity: 0.9;
    }
  }
}

.scratch-detail .wrap_container {
  .lable {
    color: $scratchColor;
    border-bottom: 1px solid $scratchColor;
  }
  .wrap_d-btn {
    border: 3px solid $scratchColor;
    color: $scratchColor;
  }
}
.python-detail .wrap_container {
  .lable {
    color: $pythonColor;
    border-bottom: 1px solid $pythonColor;
  }
  .wrap_d-btn {
    border: 3px solid $pythonColor;
    color: $pythonColor !important;
  }
}
.c-detail .wrap_container {
  .lable {
    color: $cColor;
    border-bottom: 1px solid $cColor;
  }
  .wrap_d-btn {
    border: 3px solid $cColor;
    color: $cColor;
  }
}
.course_flex-content {
  width: 1063/1920 * 100%;
  padding-top: 576/1920 * 100%;
  position: relative;
}
.course-content {
  width: 599/1063 * 100%;
  padding-top: 567/1063 * 100%;
  background: url(../../imgs/course/course-content.png) no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.course_dig-info {
  width: 275/599 * 100%;
  height: 240/599 * 100%;
  position: absolute;
  // background: url(../../imgs/course/dig-info.png) no-repeat;
  // background-size: 100% 100%;
  // position: relative;
}
.line-01 {
  position: absolute;
  width: 30%;
  border-top: 2px dotted rgba(0, 0, 0, 0.5);
  top: 50%;
  right: -30%;
  transform: translateY(-50%);
}
.line-02 {
  position: absolute;
  width: 30%;
  border-top: 2px dotted rgba(0, 0, 0, 0.5);
  top: 50%;
  right: -60%;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}
.dig_info-01 {
  left: -315/599 * 100%;
  top: 0px;
  background: url(../../imgs/course/dig-info4.png) no-repeat;
  background-size: 100% 100%;
  .c_info-txt span{
    font-size: 28px;
    color: #0a8983;
  }
}
.dig_info-02 {
  right: -315/599 * 100%;
  top: 15%;
  background: url(../../imgs/course/dig-info1.png) no-repeat;
  background-size: 100% 100%;
  .c_info-txt span{
    font-size: 28px;
    color: #aace36;
  }
}
.dig_info-03 {
  left: -315/599 * 100%;
  bottom: 10%;
  background: url(../../imgs/course/dig-info2.png) no-repeat;
  background-size: 100% 100%;
  .c_info-txt span{
    font-size: 28px;
    color: #f8ca00;
  }
}
.dig_info-04 {
  right: -315/599 * 100%;
  bottom: 0px;
  background: url(../../imgs/course/dig-info3.png) no-repeat;
  background-size: 100% 100%;
  .c_info-txt span{
    font-size: 28px;
    color: #00afec;
  }
}

.dig_info-02 .line-01 {
  left: -30%;
}
.dig_info-02 .line-02 {
  left: -60%;
  transform-origin: right center;
}

.dig_info-04 .line-01 {
  left: -30%;
}
.dig_info-04 .line-02 {
  left: -60%;
  transform-origin: right center;
}
.c_info-txt {
  position: absolute;
  width: 200%;
  height: 400%;
  left: 0;
  top: 0;
  font-size: 14px;
  padding: 20px;
  color: #928b8b;
  justify-items: center;
  align-items: center;
  transform: scale(0.5);
  transform-origin: top left;
  span{
    font-size: 21px;
    color: #aace36;
  }
}
.chengnuo{
  position: absolute;
  top: 50px;
  width: 100%;
  .project_head-title{
    font-size: 52px;
    color: #fff;
    margin: 0 auto;
  }
  .desc{
    text-align: center;
    font-size: 36px;
    color: #fff;
  }
}
@media (min-width: 768px) {
  .kecheng-btn-wrap .new_couse-warp .tab-btn {
    font-size: 16px;
    line-height: 60px;
  }
  .wrap_container .wrap-image {
    width: 306px;
    height: 233px;
  }
  .wrap_container .content {
    font-size: 14px;
  }
  .wrap_container .wrap_d-btn {
    line-height: 30px;
    font-size: 14px;
  }
}
@media (min-width: 992px) {
  .kecheng-btn-wrap .new_couse-warp .tab-btn {
    font-size: 20px;
    line-height: 60px;
  }
  .wrap_container .wrap-image {
    width: 406px;
    height: 309px;
  }
  .wrap_container .content {
    font-size: 18px;
  }
  .wrap_container .wrap_d-btn {
    font-size: 18px;
    line-height: 40px;
  }
}
@media (min-width: 1200px) {
  .kecheng-btn-wrap .new_couse-warp .tab-btn {
    font-size: 24px;
    line-height: 70px;
  }
  .wrap_container .wrap-image {
    width: 406px;
    height: 309px;
  }
  .wrap_container .content {
    font-size: 18px;
  }
  .wrap_container .wrap_d-btn {
    font-size: 28px;
    line-height: 50px;
  }
  .c_info-txt{
    font-size: 22px;
  }
  .kecheng-bottom .course_view-content{
    top: 60%;
  }
}
@media (min-width: 1600px) {
  .kecheng-bottom {
    .cnc-txt {
      font-size: 12px;
    }
  }
  .wrap_container .wrap-image {
    width: 606px;
    height: 460px;
  }
  .wrap_container .content {
    font-size: 18px;
  }
  .wrap_container .wrap_d-btn {
    font-size: 28px;
    line-height: 50px;
  }
  .c_info-txt{
    font-size: 24px;
  }
  .kecheng-bottom .course_view-content{
    top: 55%;
  }
}
